package demo5;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
    Scanner scanner=new Scanner(System.in);
        System.out.println("请输入金额");
        int out=scanner.nextInt();

        Bank bank=new Bank();
        try {
            bank.getMoney(out);
        } catch (BankException e) {
            e.printStackTrace();
        }

    }
}